package com.yanqu.road.entity.enums;

public enum eAgentErrorCode {

    Success(0, "成功"),
    ArgumentError(1, "参数错误"),
    DataSaveError(2, "数据库保存失败"),
    ErrorPlayer(3, "玩家异常"),
    FunException(4, "方法异常"),
    GetDataError(5, "获取数据异常"),
    PlayerOffline(6, "玩家不在线"),
    NickNameError(7, "昵称错误"),
    ;

    private int value;

    private String name;

    eAgentErrorCode(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
